package sjtu;

import java.util.Scanner;
https://acm.sjtu.edu.cn/OnlineJudge/problem/1025
public class Sjtu1025 {
	
	public void go(){
		Scanner scan = new Scanner(System.in);
		int n;
		int numA,numB;
		int result;
		while(scan.hasNext()){
			n = scan.nextInt();
			result = 0;
			for (int i = 0; i < n; i++) {
				
			}
		}
	}
	
	public static void main(String[] args) {
		new Sjtu1025().go();
	}
}
